import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;

import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;


public class DrawPanel extends JInternalFrame
{
DrawPanel()
{
	setSize(300,300);
	
	DrawComponent component=new DrawComponent();
	add(component);
}
class DrawComponent extends JComponent
{
	public void paintComponent(Graphics g){
	
	
}
}}
